[IT] API Options

Tuesday, 03 August 2021 07:23:53
Total Iterations

1

Total Assertions

10

Total Failed Tests

3

Total Skipped Tests

0


File Information
Collection: [IT] API Options
Environment: Nightlies
Collection Description
``` Feature: options It's a scenario which check if options call asked by the mobile is correctly returned Scenario: Get options in logged off mode and Not russian Scenario: Get options in logged off mode and russian ```
Timings and Data
Total run duration: 8.1s
Total data received: 1.2KB
Average response time: 8s
Summary Item Total Failed
Requests 1 0
Prerequest Scripts 2 0
Test Scripts 2 0
Assertions 10 3
Skipped Tests 0 -



Showing 3 Failures

Failed Test: Logged off user should no get availability_types

Assertion Error Message
expected undefined to deeply equal null
Failed Test: Logged off user should get achievement types

Assertion Error Message
Cannot read property 'map' of null
Failed Test: Logged off user should have last tos version

Assertion Error Message
expected null to not deeply equal null


There are no skipped tests



1 Iteration available to view
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api/
Response Information
Response Code: 200 - OK
Mean time per request: 8s
Mean size per request: 1.2KB

Test Pass Percentage
70 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Accept-Language en-US
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token d4ad2756-637b-4010-b17a-b87104000ce6
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Content-Length 1229
Date Tue, 03 Aug 2021 07:23:53 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Accept-Ranges bytes
Connection keep-alive
Response Body
{"status":200,"data":{"sso":{"facebook":{"enable":true},"google":{"enable":false},"vk":{"enable":false},"password":{"enable":true},"sms":{"enable":false,"country_codes":["FR","US","CA","DK","NO","BE","PL"]}},"report_types":[{"id":"b30b1e25-1aa6-4eae-8119-54acf52887fd","name":"Video call: bad behavior","description":"Video call: bad behavior","level":4},{"id":"10404","name":"Bad behavior","description":"Bad behavior","level":1},{"id":"10407","name":"Underage","description":"Underage","level":5},{"id":"10406","name":"Inappropriate picture","description":"Inappropriate picture","level":4},{"id":"10403","name":"Fake profile","description":"Fake profile","level":1},{"id":"10405","name":"Scam","description":"Scam","level":4},{"id":"10408","name":"Commercial profile","description":"Commercial profile","level":3}],"achievement_types":null,"last_tos_version":null,"last_cookie_v1_version":null,"last_cookie_v2_version":null,"last_cookie_v3_version":null,"ads_inventory":null,"shop_template":1,"shop":[],"crush_time":null,"charms_sent":{"enable":true},"timeline":null,"has_pending_likes":{"enable":false},"force_update":{},"cookie_version_enabled":false,"app_tracking_transparency_enabled":false},"success":true,"error_code":0}
Test Information
NamePassedFailedSkipped
Logged off user should no get availability_types 0 1 0
Logged off user should get report types 1 0 0
Logged off user should get achievement types 0 1 0
Logged off user should have shop_template value 1 1 0 0
Logged off user should not have ads inventory 1 0 0
Logged off user should not have have crush time configuration 1 0 0
Logged off user should not have have timeline configuration 1 0 0
Logged off user should have last tos version 0 1 0
Logged off user should have charms_sent enabled 1 0 0
Logged off user should have appropriate sso options 1 0 0
Total 7 3 0
Test Failures
Test NameAssertion Error
Logged off user should no get availability_types
expected undefined to deeply equal null
Logged off user should get achievement types
Cannot read property 'map' of null
Logged off user should have last tos version
expected null to not deeply equal null